#ifndef __GE_COMMON2_H__
#define __GE_COMMON2_H__
#include "data_type.h"

ControlCmd controlTable[] = {
	{
		BCM_FUN_LAMP, "bcm_fun_lamp",
		0x750, 1,
		/*cmd on*/
		{
			{0x40, 0x06, 0x30, 0x15, 0xff, 0x20, 0x00, 0x00},
		},
		/*cmd off*/
		{
			{0x40, 0x06, 0x30, 0x15, 0x00, 0x00, 0x00, 0x00},
		},
		200,
	},
	{
		BCM_FUN_DOOR, "bcm_fun_door",
		0x750, 1,
		{
			{0x40, 0x05, 0x30, 0x11, 0x00, 0x80, 0x00, 0x00},
		},
		{
			{0x40, 0x05, 0x30, 0x11, 0x00, 0x40, 0x00, 0x00},
		},
		500,
	},
	{
		BCM_FUN_WINDOW, "bcm_fun_window",
		0x750, 4,
		/*cmd_on* down*/
		{
			{0x90, 0x04, 0x30, 0x01, 0x00, 0x40, 0x00, 0x00},
			{0x91, 0x04, 0x30, 0x01, 0x00, 0x40, 0x00, 0x00},
			{0x92, 0x04, 0x30, 0x01, 0x00, 0x40, 0x00, 0x00},
			{0x93, 0x04, 0x30, 0x01, 0x00, 0x40, 0x00, 0x00},
		},
		/*cmd_off,up*/
		{
			{0x90, 0x04, 0x30, 0x01, 0x00, 0x80, 0x00, 0x00},
			{0x91, 0x04, 0x30, 0x01, 0x00, 0x80, 0x00, 0x00},
			{0x92, 0x04, 0x30, 0x01, 0x00, 0x80, 0x00, 0x00},
			{0x93, 0x04, 0x30, 0x01, 0x00, 0x80, 0x00, 0x00},
		},
		5000,
	},
	{
		BCM_FUN_TRUNK, "bcm_fun_trunk",
		0x750, 1,
		{
			{0x40, 0x05, 0x30, 0x11, 0xff, 0x00, 0x80, 0x00},
		},
		{
			{0x40, 0x05, 0x30, 0x11, 0xff, 0x00, 0x00, 0x00},
		},
		600,
	},
	{
		BCM_FUN_SUNROOF, "bcm_fun_sunroof",
		0x750, 3,
		{
			{0xad, 0x04, 0x30, 0x01, 0x01, 0x40, 0x00, 0x00},
			{0xad, 0x04, 0x30, 0x01, 0x01, 0x40, 0x00, 0x00},
			{0xad, 0x04, 0x30, 0x01, 0x01, 0x40, 0x00, 0x00},
		},
		{
			{0xad, 0x04, 0x30, 0x01, 0x01, 0x80, 0x00, 0x00},
			{0xad, 0x04, 0x30, 0x01, 0x01, 0x80, 0x00, 0x00},
			{0xad, 0x04, 0x30, 0x01, 0x01, 0x80, 0x00, 0x00},
		},
		2000,
	},
	{
		BCM_FUN_FINDCAR, "bcm_fun_findcar",				
		0x750, 2,
		/*cmd_on*/
		{
			{0x40, 0x04, 0x30, 0x06, 0xff, 0x00, 0x20, 0x00},
			{0x40, 0x04, 0x30, 0x06, 0x00, 0x00, 0x20, 0x00},
		},
		/*cmd_off*/
		{
			{0x40, 0x04, 0x30, 0x06, 0xff, 0x00, 0x20, 0x00},
			{0x40, 0x04, 0x30, 0x06, 0x00, 0x00, 0x20, 0x00},
		},
		3000,
	},
};

ClearCode clearCodeTable[] = {
    {
        CLEAR_CODE_ENGINE, "clear_code_engine",
        0x7e0,
        {0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
        1000,
    },
#if 0
    {
        CLEAR_CODE_AT, "clear_code_at",
        0x7e2,
        {0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
        1000,
    },
    {
        CLEAR_CODE_ABS, "clear_code_abs",
        0x243,
        {0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
        1000,
    },
    {
        CLEAR_CODE_SRS, "clear_code_srs",
        0x247,
        {0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
        1000,
    },
    {
        CLEAR_CODE_BCM, "clear_code_bcm",
        0x241,
        {0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
        1000,
    },
    {
        CLEAR_CODE_IPC, "clear_code_ipc",
        0x24c,
        {0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
        1000,
    },
    {
        CLEAR_CODE_EPS, "clear_code_esp",
        0x242,
        {0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
        1000,
    },
    {
        CLEAR_CODE_AC, "clear_code_AC",
        0x251,
        {0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
        1000,
    },
    {
        CLEAR_CODE_TPMS, "clear_code_tpms",
        0x241,
        {0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
        1000,
    },
#endif
};


#endif
